package com.example.mobiledatapackage.mapper;

import com.example.mobiledatapackage.domain.UsingStatus;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.sql.Date;

@Mapper
public interface UsingStatusMapper {
    UsingStatus selectByPrimaryKey(@Param("phone") String phone,
                                   @Param("date") Date date);

    UsingStatus selectLatest(@Param("phone") String phone);
}
